
<h1><?= $this->translate('welcome_headline') ?></h1>
<p>
	<?= $this->translate('welcome_body') ?>
</p>

<?php include 'login-autocomplete.phtml'; ?>


<div id="latest">
	<h3><?= $this->translate('latest') ?></h3>
	
	<table class="mess" width="420px" cellspacing="0" cellpadding="0"> 
	<?php foreach($this->latestStatuses as $user ) { ?>
		<tr>
			<td > 
				<b>
					<a href="<?= $this->url(array('user'=>$user['username']),'user') ?>">
					<?= $user['username'] ?>:
					</a>
				</b>
				<?= $user['status']['message']; ?>
			</td>
			<td width="140px" align="center">
				<span class="blue"><?= $this->translate('at') ?>: <?= $this->date($user['status']['date'], Zend_Date::ISO_8601)->toString('HH:ss dd.MM.yyyy') ?> </span>
			</td>
		</tr>
	<?php } ?>
	</table>	
</div>